/**
 * Copyright &copy; 2012-2016 <a href="https://shop450532966.taobao.com/">NumberOne</a> All rights reserved.
 */
package com.numberone.master.modules.people.service;

import java.util.List;

import com.numberone.master.modules.people.dao.ReservePersonDao;
import com.numberone.master.modules.people.entity.ReservePerson;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.numberone.master.common.persistence.Page;
import com.numberone.master.common.service.CrudService;

/**
 * 单表生成Service
 * @author DengWenJie
 * @version 2017-11-21
 */
@Service
@Transactional(readOnly = true)
public class ReservePersonService extends CrudService<ReservePersonDao, ReservePerson> {

	public ReservePerson get(String id) {
		return super.get(id);
	}
	
	public List<ReservePerson> findList(ReservePerson ReservePerson) {
		return super.findList(ReservePerson);
	}
	
	public Page<ReservePerson> findPage(Page<ReservePerson> page, ReservePerson ReservePerson) {
		return super.findPage(page, ReservePerson);
	}
	
	@Transactional(readOnly = false)
	public void save(ReservePerson ReservePerson) {
		super.save(ReservePerson);
	}
	
	@Transactional(readOnly = false)
	public void delete(ReservePerson ReservePerson) {
		super.delete(ReservePerson);
	}
	
}